/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hijh.uniandes.ecos.runt.bll;

/**
 *
 * @author Usuario
 */
public class RNLVOInfo implements java.io.Serializable {
     
    private java.util.UUID _uuid;
    private String _name;
    private String _description;
    
    public RNLVOInfo(){
    }
    
    public void setInfo(RNLVO vo){
        setUuid(vo.getUuid());
        String name = vo.getNombre();
        if(name.trim().isEmpty()){
            name = vo.getNombrepropietario();
            if(name.trim().isEmpty())
                name = vo.getNombrepropextranjero();
        }
        setName(name);
    }

    public java.util.UUID getUuid() {
        return _uuid;
    }

    public void setUuid(java.util.UUID uuid) {
        this._uuid = uuid;
    }

    public String getName() {
        return _name;
    }

    public void setName(String name) {
        this._name = name;
    }

    public String getDescription() {
        return _description;
    }

    public void setDescription(String description) {
        this._description = description;
    }
}
